Evidence-Based Automated Program Fixing

نویسندگان

  • Yu Pei
  • Yi Wei
  • Carlo A. Furia
  • Martín Nordio
  • Bertrand Meyer
چکیده

Many programmers, when they encounter an error, would like to have the benefit of automatic fix suggestions—as long as they are, most of the time, adequate. Initial research in this direction has generally limited itself to specific areas, such as data structure classes with carefully designed interfaces, and relied on simple approaches. To provide high-quality fix suggestions in a broad area of applicability, the present work relies on the presence of contracts in the code, and on the availability of dynamic analysis to gather evidence on the values taken by expressions derived from the program text. The ideas have been built into the AutoFix-E2 automatic fix generator. Applications of AutoFix-E2 to general-purpose software, such as a library to manipulate documents, show that the approach provides an improvement over previous techniques, in particular purely model-based approaches.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Mining Repair Actions for Guiding Automated Program Fixing

Automated program fixing consists of generating source code in order to fix bugs in an automated manner. Our intuition is that automated program fixing can imitate humanbased program fixing. Hence, we present a method to mine repair actions from software repositories. A repair action is a small semantic modification on code such as adding a method call. We then decorate repair actions with a pr...

متن کامل

A Formal Approach to Fixing Bugs

Bugs within programs typically arise within well-known motifs, such as complex language features or misunderstood programming interfaces. Some software development tools often detect some of these situations, and some integrated development environments suggest automated fixes for some of the simple cases. However, it is usually difficult to handcraft and integrate more complex bug-fixing into ...

متن کامل

Designing, implementation and evaluation of an evidence-based journal club program in the school of Persian medicine, Iran University of Medical Sciences

Introduction: Due to the lack of evidence-based medicine (EBM) program in the Persian medicine curriculum, the EBM journal clubs were implemented as a method for teaching EBM and to evaluate its efficacy and satisfaction of participants.   Methods: EBM journal clubs which was designed and implemented in 1398 and 1399 in the school of Persian Medicine of Iran University of Medical Sciences was a...

متن کامل

Avoiding, finding and fixing spreadsheet errors - A survey of automated approaches for spreadsheet QA

Spreadsheet programs can be found everywhere in organizations and they are used for a variety of purposes, including financial calculations, planning, data aggregation and decision making tasks. A number of research surveys have however shown that such programs are particularly prone to errors. Some reasons for the error-proneness of spreadsheets are that spreadsheets are developed by end users...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • CoRR

دوره abs/1102.1059  شماره 

صفحات  -

تاریخ انتشار 2011